using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class EndPoint : MonoBehaviour
{
    void OnTriggerEnter(Collider other)
    {
        if (other.tag == "Player")
        {
            Time.timeScale = 0;//暂停时间
            //调出胜利UI
            WinPanel.Instance.ShowMe();
        }
    }
}
